package com.woniuxy.caradmin.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.sql.Date;

@Data
@ApiModel("用户实体类")
public class User {
    @ApiModelProperty("用户id")
    private Integer id;
    @ApiModelProperty("用户电话")
    private String telephone;
    @ApiModelProperty("用户名字")
    private String name;
    @ApiModelProperty("用户密码")
    private String password;
    @ApiModelProperty("用户生日")
    private Date birthday;
    @ApiModelProperty("用户是否还存在(1在，0不在)")
    private String available;
    @ApiModelProperty("用户部门id")
    private Integer did;
    @ApiModelProperty("用户职位")
    private Integer positionid;
    @ApiModelProperty("用户性别")
    private String sex;
    @ApiModelProperty("用户等级")
    private String gradeid;
    @ApiModelProperty("用户状态(1启用，0禁用)")
    private Integer statues;
    @ApiModelProperty("用户入职时间")
    private Date entry;
    @ApiModelProperty("联合查询[用户关联字典]")
    private Dictionary dictionary;
    private Dept dept;

}
